<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div>修改管理员</div>
    <form action="/admin/manager/doEdit" method="post">
        <input type="hidden" name="id" value="<%=_id%>">
        <ul>
            <li>
                <span>管理员名称</span>
                <input type="text" name="username" value="<%=username%>" readonly>
            </li>
            <li>
                <span>管理员密码</span>
                <input type="text" name="password" >
            </li>
            <li>
                <span>确认密码</span>
                <input type="text" name="rpassword">
            </li>
            <li>
                <span>管理员电话</span>
                <input type="text" name="phone" value="<%=phone%>">
            </li>
            <li>
                <span>管理员邮箱</span>
                <input type="text" name="email" value="<%=email%>">
            </li>
            <li>
                <span>状态</span>
                <label for="x">显示</label>
                <input type="radio" id="x" name="status" value=1 <% if (status==1){%> checked  <%}%> >
                <label for="nx">隐藏</label>
                <input type="radio" id="nx" name="status" value=0 <% if (status==0){%>checked<%}%> >
            </li>
            <li>
                <button type="submit">提交</button>
            </li>
        </ul>
    </form>
</body>
</html>